package com.ctshk.rpc.order.custom.dto.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 验证优惠DTO
 */
@Data
@ApiModel(value="验证优惠DTO", description="验证优惠DTO")
public class CustomOrderVerifyPromotionDTO implements Serializable {

    @ApiModelProperty(value = "是否有效")
    private Integer isEffective;

    @ApiModelProperty(value = "减X金额")
    private BigDecimal reductionAmount;

    @ApiModelProperty(value = "有效数量")
    private Integer effectiveNum;

    @ApiModelProperty(value = "优惠ID")
    private Long discountId;

}
